//
//  Destination.m
//  We_Travel
//
//  Created by lanou3g on 15/12/11.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "Destination.h"

@implementation Destination

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        _ID = [value integerValue];
    }
}

- (NSString *)description
{
    return [NSString stringWithFormat:@"ID:%ld,local:%@,name:%@,images:%@,periphery:%@,max:%ld,min:%ld,days:%ld,tags:%@",_ID,_location,_name,_images,_periphery,_max_days,_min_days,_recommend_days,_tags];
}
@end
